@theme-color: #FF6D6C;
@title-color: #E53700;
@title-bg: #F7F7F7;
@txt-color: #333;
@theme-color: #FF6D6C;
// wrapper
.stock-fund-container {
  position: relative;
}

// tab
#fund-info-tab {
  height: 30px;
  overflow: auto;
  border-bottom: 1px solid #E8E8E8;
  .fa-tab {
    margin: 0;
    padding-left: 0;
    padding-top: 3px;
    padding-bottom: 3px;
    color: #333;
    .item {
      float: left;
      font-size: 12px;
      line-height: 1.9;
      padding: 0 14px;
      border-radius: 2px;
      margin-left: 10px;
      &.active {
        background: @theme-color;
        color: #fff;
      }
      &:hover {
        cursor: pointer;
      }
      ;
      color: #666;
    }
  }
}

// content
#fund-info-content {
  width: 100%;
  padding-top: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  .fa-main {
    box-sizing: border-box;
    padding: 0 20px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.67;
    .fa-item {
      margin-bottom: 54px;
      .title {
        line-height: 1.7;
        margin: 0 0 10px;
        padding-top: 10px;
        text-align: center;
        color: #ee5757;
        border-bottom: 4px solid @theme-color;
      }
      .fix-mb.module {
        margin-bottom: 30px;
      }
      // table
      .fa-tb {
        width: 100%;
        margin-top: 10px;
        &.mt20 {
          margin-top: 20px;
        }
        th {
          background-color: #f7f7f7;
          font-weight: normal;
        }
        th,
        td {
          border: 1px solid #e0e0e0;
          padding: 6px 9px;
          text-align: center;
          &.t-right {
            text-align: right;
          }
          &.t-left {
            text-align: left;
          }
        }
        // table row
        .fix-tr {
          border: 1px solid #e0e0e0;
          line-height: 2.4;
          text-align: center;
          background-color: #f7f7f7;
        }
        // table data
        .fix-td {
          border: 0;
          padding: 0;
          text-align: left;
        }
        // 股本分析
        .fix-margin {
          margin-right: 3px;
        }
        // link
        .fa-link,
        .fa-link:hover,
        .fa-link:active,
        .fa-link:visited {
          color: #146BCE;
          text-decoration: underline;
        }
      }
      // 文字页面 
      .fa-page {
        margin-top: 10px;
        ul {
          padding-left: 0;
          display: inline-block;
          vertical-align: middle;
        }
        li {
          display: inline-block;
          font-size: 14px;
          color: #333;
          background-color: #fff;
          border: 1px solid #ddd;
          width: 28px;
          height: 28px;
          line-height: 26px;
          text-align: center;
          cursor: pointer;
          &.active {
            border-color: @theme-color;
            background-color: @theme-color;
            color: #fff;
          }
        }
        li:not(:last-child) {
          margin-right: 4px;
        }
        .remark {
          color: #999;
        }
        .disable {
          color: #ccc;
          cursor: not-allowed;
        }
      }
      // 高管介绍
      .fa-modal {
        .modal-dialog {
          width: 600px;
        }
        &.sm {
          .modal-dialog {
            width: 360px;
          }
        }
        .modal-content {
          border-radius: 0;
        }
        .fa-close {
          &:before,
          &:after {
            content: '';
            position: absolute;
            width: 14px;
            height: 1px;
            background-color: #fff;
            -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
            top: 50%;
            left: 50%;
          }
          ;
          &:before {
            -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg);
            transform: translate3d(-50%, -50%, 0) rotate(45deg);
          }
          &:after {
            -webkit-transform: translate3d(-50%, -50%, 0) rotate(-45deg);
            transform: translate3d(-50%, -50%, 0) rotate(-45deg);
          }
          ;
        }
      }
    }
    .module {
      &.style2 .head {
        text-align: center;
      }
      margin-bottom: 10px;
      .head {
        font-size: 16px;
        margin-bottom: 10px;
        padding-top: 10px;
      }
      &.bt {
        border-top: 1px solid #e8e8e8;
      }
      // 高管介绍
      .fa-wrap {
        .fa-row {
          overflow: auto;
        }
        .fa-col-2,
        .fa-col-5 {
          float: left;
        }
        .fa-col-2 {
          width: 28.57%;
        }
        .fa-col-5 {
          width: 71.42%;
        }
      }
    }
    .txt {
      margin-bottom: 2px;
    }
    // em {
    //     color: #E53700;
    //     margin: 0 3px;
    // }
    .color-up {
      color: #E53700;
    }
    .color-down {
      color: #08C278;
    }
    .opts {
      margin-bottom: 10px;
      margin-top: 20px;
      .line {
        margin-right: 20px;
        display: inline-block;
      }
    }
  }
}

#company_financials table.mt20 {
  table-layout: fixed;
}

.c-pointer {
  cursor: pointer;
}

.fa-icon-order {
  border-width: 4px;
  transform: translate3d(3px, -2px, 0) rotate(-45deg);
  border-style: solid;
  border-color: transparent transparent #ccc #ccc;
  display: inline-block;
}

.active>.fa-icon-order {
  border-color: transparent transparent #999 #999;
}

#companyBusinessChart,
#companyFinancialsChart,
#companyHoldersChart {
  &:after {
    content: '';
    clear: both;
    display: block;
    height: 0;
  }
  ;
  .board {
    float: left;
    text-align: center;
  }
}

#companyBusinessChart .board {
  width: 33.3%;
  padding: 20px 0;
}

#companyFinancialsChart,
#companyHoldersChart {
  padding: 20px 0;
  .board {
    width: 50%;
    padding: 20px 0;
    @media screen and (max-width: 1400px) {
      width: 100%;
    }
  }
}

#companyHoldersTopChart0,
#companyHoldersTopChart1 {
  text-align: CENTER;
  padding: 10px 0;
}

#companyHoldersChart {
  padding-top: 24px;
}

#company_info {
  .lab {
    width: 60px;
    text-align: justify;
    text-align-last: justify;
    display: inline-block;
  }
}

#company_manager .fix-width {
  th:nth-child(1),
  td:nth-child(1),
  td:nth-child(5),
  th:nth-child(5) {
    width: 6.5%;
  }
  th:nth-child(2),
  td:nth-child(2),
  td:nth-child(6),
  th:nth-child(6) {
    width: 11%;
  }
  th:nth-child(3),
  td:nth-child(3),
  td:nth-child(7),
  th:nth-child(7) {
    width: 19%;
  }
  th:nth-child(4),
  td:nth-child(4),
  td:nth-child(8),
  th:nth-child(8) {
    width: 13%;
  }
}

#company_holders_top .fix-width {
  th:nth-child(1),
  td:nth-child(1) {
    width: 44%;
  }
}

#company_financials .fix-width {
  th,
  td {
    width: 20%;
  }
}

#company_block_trading .fix-width {
  th:nth-child(2),
  td:nth-child(2) {
    min-width: 96px;
  }
}

#company_info {
  .ci-info {
    overflow: auto;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 10px;
    .ci-avatar {
      float: left;
      width: 160px;
      height: 160px;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      border: 1px solid #ccc;
      box-sizing: border-box;
    }
    .ci-detail {
      overflow: hidden;
      .container-fluid {
        padding: 0 10px;
        .col-md-6,
        .col-md-3 {
          padding: 0;
        }
      }
    }
    .ci-detail-1 {
      margin-bottom: 10px;
    }
    .ci-detail-2 {
      padding: 0 10px;
    }
  }
  .ci-name {
    line-height: 1.41;
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 4px;
  }
}

#manager_detail {
  .fa-wrap {
    padding: 0 20px 20px;
    .fa-row:not(:last-child) {
      border-bottom: 1px solid #e8e8e8;
    }
  }
  .fa-col-2 {
    text-align: center;
    padding: 11px 0;
  }
  .fa-col-5 {
    padding: 20px;
  }
  .head {
    color: #2A8ED0;
    font-size: 20px;
    line-height: 1.65;
  }
  .remark {
    font-size: 12px;
    color: #999;
  }
  p.txt {
    margin-bottom: 0;
    span:not(:last-child) {
      margin-right: 10px;
    }
  }
  .intro {
    padding: 10px 0;
  }
  .ft {
    text-align: center;
    color: #999;
  }
}